﻿<script src="../../../processing.js"></script>
<canvas datasrc="pimagepreloader.pjs" width="200" height="200"></canvas>
<pre>
/* @pjs preload="metamorphosis.jpg" */
size(472,266);
PImage img = loadImage("metamorphosis.jpg");
image(img,0,0);
</pre>